#detail-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;

  .text-box {
    .number {
      font-size: 30px;
      font-style: italic;
      font-family: 'consolas', sans-serif !important;
      color: var(--theme-color);
    }
  }

  .btn-box {
    margin-right: 150px;
  }
}

#detail-container {
  width: 100%;
  height: 550px;

  .container {
    display: flex;
    box-sizing: border-box;
    margin: 0 20px 10px 0;
    height: calc(550px - 10px);

    .left {
      display: flex;
      width: 50px;
      flex-direction: column;
      box-sizing: border-box;
      align-items: center;

      .btn {
        width: 24px;
        height: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 15px 0 0;

        .save {
          display: inline-block;
          background-image: url("~@/assets/icon/save_0.svg");
          background-size: cover;
          width: 24px;
          height: 24px;
        }
      }
    }

    .main {
      padding: 0;
      width: 815px;
      border-radius: 5px;
      overflow: hidden;
      border: 1px solid gainsboro;
      box-sizing: border-box;
      background-color: #f6f6f6;
      position: relative;

      .icon-box {
        position: absolute;
        top: calc(50% - 25px);
        width: 50px;
        height: 50px;
        border: 1px gainsboro solid;
        border-radius: 50%;
        background: #ffffff;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: xx-large;
        opacity: 0.2;
        z-index: 999999999;
        transition: all 0.3s ease;
      }

      .icon-box:hover {
        opacity: 0.6;
        cursor: pointer;
      }

      .left-icon-box {
        left: 20px;
      }

      .right-icon-box {
        right: 20px;
      }
    }

    .right {
      width: 315px;
      box-sizing: border-box;
      margin-left: 10px;
      border-radius: 5px;
      display: flex;
      flex-direction: column;

      .header {
        padding: 10px;
        border: 1px solid gainsboro;
        box-sizing: border-box;
        border-radius: 5px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

        h4 {
          font-weight: bolder;
          cursor: pointer;

          & i:hover {
            color: #409EFF;
          }
        }
      }

      .mark-box {
        border: 1px solid gainsboro;
        box-sizing: border-box;
        margin: 10px 0;
        border-radius: 5px;
        flex: 1;
        overflow: hidden;
        overflow-y: auto;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

        &::-webkit-scrollbar {
          display: none;
        }

        .markList-item {
          display: flex;
          padding: 5px 10px;
          cursor: pointer;
          transition: background-color 0.3s ease;
          border-bottom: 1px solid #dcdfe6;
          align-items: center;

          .index {
            display: flex;
            flex: 1;
            justify-content: flex-start;
          }

          .text {
            flex: 9;
            padding-left: 1%;
          }

          .btn {
            display: flex;
            justify-content: center;
            align-items: center;
            flex: 1;
          }

          .btn-hidden {
            visibility: hidden;

            &:hover {
              color: var(--theme-color2);
            }
          }

          &:hover .btn-hidden {
            visibility: visible;
          }

          .btn-show {
            color: var(--theme-color);

            &:hover {
              color: var(--theme-color2);
            }
          }

          &:hover {
            background-color: #dceaf0;
          }
        }

        .highlight {
          background-color: #dceaf0 !important;
        }

        .warning {
          background-color: #fcf2df;
        }
      }
    }
  }
}

#comment-box {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  width: 100%;
  height: 300px;

  .comment-area {
    border: #f0f0f0 1px solid;
    border-radius: 5px;
    width: 100%;
    height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;

    &::-webkit-scrollbar {
      display: none;
    }

    .comment {
      position: relative;
      display: flex;
      flex-direction: column;
      margin-top: 5px;
      padding: 0 5px;
      height: auto;
      width: 100%;
      overflow: hidden;

      .header {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .name {
          color: var(--theme-color);
          font-size: 13px;
          width: 50%;
        }

        .time {
          color: #b9b9b9;
          font-size: 11px;
        }
      }

      .del-box {
        position: absolute;
        width: 10%;
        height: 100%;
        right: -10%;
        transition: all 0.3s ease;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--theme-color2);
        color: #FFFFFF;
        cursor: pointer;
      }

      &:hover .del-box {
        right: 0;
      }
    }

    .comment::after {
      margin-top: 5px;
      content: '';
      border-bottom: 1px #f0f0f0 solid;
      box-sizing: border-box;
    }
  }

  .input-area {
    display: flex;
    justify-content: space-between;
  }
}

#key-button {
  background: linear-gradient(-225deg, #d5dbe4, #f8f8f8);
  border: 0;
  border-radius: 2px;
  box-shadow: inset 0 -2px 0 0 #cdcde6, inset 0 0 1px 1px #fff, 0 1px 2px 1px #1e235a66;;
  color: #969faf;
  min-height: 18px;
  justify-content: center;
  margin: .2em .1em;
  padding: 2px;
  min-width: 20px;
}